<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Windows service</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Windows_service"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Windows_service rootpage-Windows_service skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Windows service</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<p>In <a href="Windows_NT" title="Windows NT">Windows NT</a> operating systems, a <b>Windows service</b> is a <a href="Computer_program" title="Computer program">computer program</a> that <a href="Background_process" title="Background process">operates in the background</a>.<sup id="cite_ref-Services_snap-in_1-0" class="reference"><a href="#cite_note-Services_snap-in-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> It is similar in concept to a <a href="Unix" title="Unix">Unix</a> <a href="Daemon_(computing)" title="Daemon (computing)">daemon</a>.<sup id="cite_ref-Services_snap-in_1-1" class="reference"><a href="#cite_note-Services_snap-in-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> A Windows service must conform to the interface rules and protocols of the <a href="Service_Control_Manager" title="Service Control Manager">Service Control Manager</a>, the component responsible for managing Windows services. It is the Services and Controller app, services.exe, that launches all the services and manages their actions, such as start, end, etc.<sup id="cite_ref-Service_MSDN_2-0" class="reference"><a href="#cite_note-Service_MSDN-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>
</p><p>Windows services can be configured to start when the operating system is started and run in the background as long as Windows is running. Alternatively, they can be started manually or by an event. Windows NT operating systems <a href="List_of_Microsoft_Windows_components#Services" title="List of Microsoft Windows components">include numerous services</a> which run in context of three <a href="User_account" class="mw-redirect" title="User account">user accounts</a>: System, Network Service and Local Service. These Windows components are often associated with <a href="Svchost.exe" title="Svchost.exe">Host Process for Windows Services</a>. Because Windows services operate in the context of their own dedicated user accounts, they can operate when a user is not logged on.
</p><p>Prior to <a href="Windows_Vista" title="Windows Vista">Windows Vista</a>, services installed as an "interactive service" could interact with Windows <a href="Desktop_metaphor" title="Desktop metaphor">desktop</a> and show a <a href="Graphical_user_interface" title="Graphical user interface">graphical user interface</a>. In Windows Vista, however, interactive services are deprecated and may not operate properly, as a result of <a href="Security_and_safety_features_new_to_Windows_Vista#Windows_Service_Hardening" title="Security and safety features new to Windows Vista">Windows Service hardening</a>.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Administration">Administration</h2></div>
<p>Windows administrators can manage services via:
</p>
<ul><li>The Services <a href="Plug-in_(computing)" title="Plug-in (computing)">snap-in</a> (found under <i>Administrative Tools</i> in Windows <a href="Control_Panel_(Windows)" title="Control Panel (Windows)">Control Panel</a>)</li>
<li>Sc.exe</li>
<li><a href="Windows_PowerShell" class="mw-redirect" title="Windows PowerShell">Windows PowerShell</a></li></ul>
<div class="mw-heading mw-heading3"><h3 id="Services_snap-in">Services snap-in</h3></div>
<p>The Services snap-in, built upon <a href="Microsoft_Management_Console" title="Microsoft Management Console">Microsoft Management Console</a>, can connect to the local computer or a remote computer on the network, enabling users to:<sup id="cite_ref-Services_snap-in_1-2" class="reference"><a href="#cite_note-Services_snap-in-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>
</p>
<ul><li>view a list of installed services along with service name, descriptions and configuration</li>
<li>start, stop, pause or restart services<sup id="cite_ref-technet-start_5-0" class="reference"><a href="#cite_note-technet-start-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup></li>
<li>specify service parameters when applicable</li>
<li>change the startup type. Acceptable startup types include:
<ul><li><i>Automatic</i>: The service starts at system startup.</li>
<li><i>Automatic (Delayed)</i>: The service starts a short while after the system has finished starting up. This option was introduced in <a href="Windows_Vista" title="Windows Vista">Windows Vista</a> in an attempt to reduce the boot-to-desktop time. However, not all services support delayed start.<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup></li>
<li><i>Manual</i>: The service starts only when explicitly summoned.</li>
<li><i>Disabled</i>: The service is disabled. It will not run.</li></ul></li>
<li>change the <a href="User_account" class="mw-redirect" title="User account">user account</a> context in which the service operates</li>
<li>configure recovery actions that should be taken if a service fails</li>
<li>inspect service dependencies, discovering which services or device drivers depend on a given service or upon which services or device drivers a given service depends</li>
<li>export the list of services as a text file or as a <a href="Comma-separated_values" title="Comma-separated values">CSV</a> file</li></ul>
<div class="mw-heading mw-heading3"><h3 id="Command_line">Command line</h3></div>
<style data-mw-deduplicate="TemplateStyles:r1295905060">
/* start https://en.wikipedia.org/ */
.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}
/* end https://en.wikipedia.org/ */
</style><table class="infobox vevent"><tbody><tr><th colspan="2" class="infobox-above summary">sc</th></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Programmer" title="Programmer">Developer(s)</a></th><td class="infobox-data"><a href="Microsoft" title="Microsoft">Microsoft</a>, ReactOS Contributors</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Operating_system" title="Operating system">Operating system</a></th><td class="infobox-data"><a href="Microsoft_Windows" title="Microsoft Windows">Windows</a>, <a href="ReactOS" title="ReactOS">ReactOS</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_categories#Categorization_approaches" title="Software categories">Type</a></th><td class="infobox-data"><a href="Command_(computing)" title="Command (computing)">Command</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_license" title="Software license">License</a></th><td class="infobox-data">Windows: <a href="Proprietary_software" title="Proprietary software">Proprietary</a> <a href="Commercial_software" title="Commercial software">commercial software</a><br>
ReactOS: <a href="GNU_General_Public_License" title="GNU General Public License">GNU General Public License</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Website</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc754599(v%3dws.11)">docs<wbr>.microsoft<wbr>.com<wbr>/en-us<wbr>/previous-versions<wbr>/windows<wbr>/it-pro<wbr>/windows-server-2012-R2-and-2012<wbr>/cc754599(v%3dws<wbr>.11)</a></span></td></tr></tbody></table>
<p>The <a href="Command-line_interface" title="Command-line interface">command-line</a> tool to manage Windows services is sc.exe. It is available for all versions of <a href="Windows_NT" title="Windows NT">Windows NT</a>.<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup> This utility is included with <a href="Windows_XP" title="Windows XP">Windows XP</a><sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> and later<sup id="cite_ref-sc.exe_9-0" class="reference"><a href="#cite_note-sc.exe-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> and also in <a href="ReactOS" title="ReactOS">ReactOS</a>.
</p><p>The <code>sc</code> command's scope of management is restricted to the local computer. However, starting with <a href="Windows_Server_2003" title="Windows Server 2003">Windows Server 2003</a>, not only can <code>sc</code> do all that the Services snap-in does, but it can also install and uninstall services.<sup id="cite_ref-sc.exe_9-1" class="reference"><a href="#cite_note-sc.exe-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup>
</p><p>The <code>sc</code> command duplicates some features of the <code><a href="Net_(command)" title="Net (command)">net</a></code> command.<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup>
</p><p>The ReactOS version was developed by Ged Murphy and is licensed under the <a href="GPL" class="mw-redirect" title="GPL">GPL</a>.<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup>
</p>
<table class="wikitable sortable">
<caption>sc sub-commands
</caption>
<tbody><tr>
<th style="width:5em">Name
</th>
<th style="width:20em">Description
</th>
<th style="width:20em">Windows support
</th>
<th style="width:10em">ReactOS support
</th></tr>
<tr>
<td>query
</td>
<td>Show service status
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>queryex
</td>
<td>Show extended service info (e.g. pid, flags)
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>start
</td>
<td>Start a service
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>pause
</td>
<td>Pause a service
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>interrogate
</td>
<td>Send an INTERROGATE control request to a service
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>continue
</td>
<td>Continue a service
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>stop
</td>
<td>Stop a service
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>config
</td>
<td>permanently change the service configuration
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>description
</td>
<td>Change a service description
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>failure
</td>
<td>Change the actions taken by a service upon failure
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>failureflag
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>sidtype
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>privs
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>managedaccount
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>qc
</td>
<td>Show the service config (e.g. dependencies, full path etc.)
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>qdescription
</td>
<td>Query a service description
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>qfailure
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>qfailureflag
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>qsidtype
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>qprivs
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>qtriggerinfo
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>qpreferrednode
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>qmanagedaccount
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>qprotection
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>quserservice
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>delete
</td>
<td>Delete a service
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>create
</td>
<td>Create a service
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>control
</td>
<td>Send a control to a service
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>sdshow
</td>
<td>Display a service's security descriptor using SDDL
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>sdset
</td>
<td>Sets a service's security descriptor using SDDL
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>showsid
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>triggerinfo
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>preferrednode
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>GetDisplayName
</td>
<td>Show the service DisplayName
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>GetKeyName
</td>
<td>Show the service ServiceKeyName
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>EnumDepend
</td>
<td>Show the service Dependencies
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td></tr>
<tr>
<td>boot
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>Lock
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
<tr>
<td>QueryLock
</td>
<td>
</td>
<td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes
</td>
<td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">No
</td></tr>
</tbody></table>
<div class="mw-heading mw-heading4"><h4 id="Examples">Examples</h4></div>
<p>The following example enumerates the status for active services & drivers.<sup id="cite_ref-computerhope_12-0" class="reference"><a href="#cite_note-computerhope-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-highlight mw-highlight-lang-doscon mw-content-ltr" dir="ltr"><pre><span class="gp">C:\></span>sc query
</pre></div>
<p>The following example displays the status for the <a href="Windows_Event_log" class="mw-redirect" title="Windows Event log">Windows Event log</a> service.<sup id="cite_ref-computerhope_12-1" class="reference"><a href="#cite_note-computerhope-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-highlight mw-highlight-lang-doscon mw-content-ltr" dir="ltr"><pre><span class="gp">C:\></span>sc query eventlog
</pre></div>
<div class="mw-heading mw-heading3"><h3 id="PowerShell">PowerShell</h3></div>
<p>The Microsoft.PowerShell.Management PowerShell module (included with Windows) has several cmdlets which can be used to manage Windows services:
</p>
<ul><li>Get-Service<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup></li>
<li>New-Service<sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup></li>
<li>Restart-Service<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup></li>
<li>Resume-Service<sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup></li>
<li>Set-Service<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup></li>
<li>Start-Service<sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup></li>
<li>Stop-Service<sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">[</span>19<span class="cite-bracket">]</span></a></sup></li>
<li>Suspend-Service<sup id="cite_ref-20" class="reference"><a href="#cite_note-20"><span class="cite-bracket">[</span>20<span class="cite-bracket">]</span></a></sup></li></ul>
<div class="mw-heading mw-heading3"><h3 id="Other_management_tools">Other management tools</h3></div>
<p>Windows also includes components that can do a subset of what the snap-in, Sc.exe and PowerShell do. The <code><a href="Net_(command)" title="Net (command)">net</a></code> command can start, stop, pause or resume a Windows service.<sup id="cite_ref-21" class="reference"><a href="#cite_note-21"><span class="cite-bracket">[</span>21<span class="cite-bracket">]</span></a></sup> In Windows Vista and later, <a href="Windows_Task_Manager" class="mw-redirect" title="Windows Task Manager">Windows Task Manager</a> can show a list of installed services and start or stop them. <a href="MSConfig" title="MSConfig">MSConfig</a> can enable or disable (see startup type description above) Windows services.
</p>
<div class="mw-heading mw-heading2"><h2 id="Installation">Installation</h2></div>
<p>Windows services are installed and removed via *.INF setup scripts by <i>SetupAPI</i>; an installed service can be started immediately following its installation, and a running service can be stopped before its deinstallation.<sup id="cite_ref-22" class="reference"><a href="#cite_note-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-23" class="reference"><a href="#cite_note-23"><span class="cite-bracket">[</span>23<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-24" class="reference"><a href="#cite_note-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Development">Development</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Writing_native_services">Writing native services</h3></div>
<p>For a program to run as a Windows service, the program needs to be written to handle service start, stop, and pause messages from the <a href="Service_Control_Manager" title="Service Control Manager">Service Control Manager</a> (SCM) through the <a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/windows/win32/system-services">System Services API</a>. SCM is the Windows component responsible for managing service processes.
</p>
<div class="mw-heading mw-heading3"><h3 id="Wrapping_applications_as_a_service">Wrapping applications as a service</h3></div>
<p>The <a href="Windows_Resource_Kit" class="mw-redirect" title="Windows Resource Kit">Windows Resource Kit</a> for <a href="Windows_NT_3.51" title="Windows NT 3.51">Windows NT 3.51</a>, <a href="Windows_NT_4.0" title="Windows NT 4.0">Windows NT 4.0</a> and <a href="Windows_2000" title="Windows 2000">Windows 2000</a> provides tools to control the use and registration of services: <code>SrvAny.exe</code> acts as a <a href="Service_wrapper" title="Service wrapper">service wrapper</a> to handle the interface expected of a service (e.g. handle service_start and respond sometime later with service_started or service_failed) and allow any executable or script to be configured as a service. <code>Sc.exe</code> allows new services to be installed, started, stopped and uninstalled.<sup id="cite_ref-25" class="reference"><a href="#cite_note-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<dl><dt>Windows services</dt></dl>
<ul><li><a href="List_of_Microsoft_Windows_components#Services" title="List of Microsoft Windows components">List of Microsoft Windows components § Services</a></li>
<li><a href="Windows_Service_Hardening" class="mw-redirect" title="Windows Service Hardening">Windows Service Hardening</a></li>
<li><a href="Svchost.exe" title="Svchost.exe">svchost.exe</a></li></ul>
<dl><dt>Concept</dt></dl>
<ul><li><a href="Background_process" title="Background process">Background process</a>
<ul><li><a href="Daemon_(computing)" title="Daemon (computing)">Daemon (computing)</a></li>
<li><a href="DOS_Protected_Mode_Services" title="DOS Protected Mode Services">DOS Protected Mode Services</a></li>
<li><a href="Terminate-and-stay-resident_program" title="Terminate-and-stay-resident program">Terminate-and-stay-resident program</a></li>
<li><a href="Device_driver" title="Device driver">Device driver</a></li></ul></li>
<li><a href="Operating_system_service_management" class="mw-redirect" title="Operating system service management">Operating system service management</a>
<ul><li><a href="Service_Control_Manager" title="Service Control Manager">Service Control Manager</a></li>
<li><a href="Service_Management_Facility" title="Service Management Facility">Service Management Facility</a></li></ul></li>
<li><a href="Service_wrapper" title="Service wrapper">Service wrapper</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist reflist-columns references-column-width" style="column-width: 30em;">
<ol class="references">
<li id="cite_note-Services_snap-in-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-Services_snap-in_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Services_snap-in_1-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-Services_snap-in_1-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/cc783643%28v=ws.10%29.aspx">"Services overview"</a>. <i><a href="Microsoft_TechNet" title="Microsoft TechNet">TechNet</a></i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-Service_MSDN-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-Service_MSDN_2-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://msdn2.microsoft.com/en-us/library/ms685141.aspx">"Services"</a>. <i><a href="Microsoft_Developer_Network" title="Microsoft Developer Network">Microsoft Developer Network</a></i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/magazine/2008.06.elevation.aspx">"New Elevation PowerToys for Windows Vista"</a>. <i>TechNet Magazine</i>. <a href="Microsoft" title="Microsoft">Microsoft</a>. June 2008<span class="reference-accessdate">. Retrieved <span class="nowrap">21 June</span> 2013</span>. <q>The service CmdAsSystem is configured as interactive whose support is being deprecated. The service may not function properly. The problem is that this script tries to create and start an interactive service. Interactive services will not function correctly due to Session 0 Isolation in Windows Vista.</q></cite></span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-us/windows/hardware/gg463428.aspx">"Services in Windows"</a>. <i><a href="MSDN" class="mw-redirect" title="MSDN">MSDN</a></i>. <a href="Microsoft" title="Microsoft">Microsoft</a>. 18 October 2010<span class="reference-accessdate">. Retrieved <span class="nowrap">21 June</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-technet-start-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-technet-start_5-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/cc736564%28v=WS.10%29.aspx">"Start, stop, pause, resume, or restart a service"</a>. <i><a href="Microsoft_TechNet" title="Microsoft TechNet">TechNet</a></i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-us/library/system.serviceprocess.serviceinstaller.delayedautostart.aspx">"ServiceInstaller.DelayedAutoStart Property (System.ServiceProcess)"</a>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">28 November</span> 2017</span>See Remarks section</cite><span class="cs1-maint citation-comment"><code class="cs1-code">{{cite web}}</code>: CS1 maint: postscript (link)</span></span>
</li>
<li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text">
<cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://support.microsoft.com/kb/251192">"How to create a Windows service by using Sc.exe"</a>. <i>Support</i>. Microsoft. 11 September 2011<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/bb490995.aspx">"Command-line reference A-Z: SC"</a>. <i><a href="Microsoft_TechNet" title="Microsoft TechNet">TechNet</a></i>. <a href="Microsoft" title="Microsoft">Microsoft</a><span class="reference-accessdate">. Retrieved <span class="nowrap">8 January</span> 2014</span>.</cite></span>
</li>
<li id="cite_note-sc.exe-9"><span class="mw-cite-backlink">^ <a href="#cite_ref-sc.exe_9-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-sc.exe_9-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/cc754599.aspx">"Command-Line Reference: Sc"</a>. <i><a href="Microsoft_TechNet" title="Microsoft TechNet">TechNet</a></i>. <a href="Microsoft" title="Microsoft">Microsoft</a><span class="reference-accessdate">. Retrieved <span class="nowrap">8 January</span> 2014</span>. <q>Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Vista</q></cite></span>
</li>
<li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://ss64.com/nt/sc.html">SC - Service Control - Windows CMD - SS64.com</a></span>
</li>
<li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://github.com/reactos/reactos/blob/master/base/applications/sc/sc.c">reactos/sc.c at master · reactos/reactos · GitHub</a></span>
</li>
<li id="cite_note-computerhope-12"><span class="mw-cite-backlink">^ <a href="#cite_ref-computerhope_12-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-computerhope_12-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://www.computerhope.com/sc-command.htm">MS-DOS and Windows command line sc command</a></span>
</li>
<li id="cite_note-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-13">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/library/hh849804.aspx">"Get-Service"</a>. <i>TechNet</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-14">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-US/library/hh849830.aspx">"New-Service"</a>. <i>TechNet</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-15">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-US/library/hh849823.aspx">"Restart-Service"</a>. <i>TechNet</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-US/library/hh849811.aspx">"Resume-Service"</a>. <i>TechNet</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-US/library/hh849849.aspx">"Set-Service"</a>. <i>TechNet</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-US/library/hh849825.aspx">"Start-Service"</a>. <i>TechNet</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-US/library/hh849790.aspx">"Stop-Service"</a>. <i>TechNet</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-20">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-US/library/hh849791.aspx">"Suspend-Service"</a>. <i>TechNet</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-21">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/cc736564%28v=ws.10%29.aspx">"Start, stop, pause, resume, or restart a service"</a>. <i><a href="Microsoft_TechNet" title="Microsoft TechNet">TechNet</a></i>. <a href="Microsoft" title="Microsoft">Microsoft</a><span class="reference-accessdate">. Retrieved <span class="nowrap">8 January</span> 2014</span>.</cite></span>
</li>
<li id="cite_note-22"><span class="mw-cite-backlink"><b><a href="#cite_ref-22">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://docs.microsoft.com/windows-hardware/drivers/install/inf-addservice-directive">"INF AddService Directive"</a>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">10 July</span> 2017</span>.</cite></span>
</li>
<li id="cite_note-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-23">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://msdn.microsoft.com/library/aa377402.aspx">"SetupInstallServicesFromInfSection function"</a>. <i>MSDN</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">10 July</span> 2017</span>.</cite></span>
</li>
<li id="cite_note-24"><span class="mw-cite-backlink"><b><a href="#cite_ref-24">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://msdn.microsoft.com/library/aa377403.aspx">"SetupInstallServicesFromInfSectionEx function"</a>. <i>MSDN</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">10 July</span> 2017</span>.</cite></span>
</li>
<li id="cite_note-25"><span class="mw-cite-backlink"><b><a href="#cite_ref-25">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://support.microsoft.com/kb/137890">"How To Create a User-Defined Service"</a>. <i>Support</i>. Microsoft<span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></span>
</li>
</ol></div>
<div class="mw-heading mw-heading2"><h2 id="Further_reading">Further reading</h2></div>
<ul><li><cite id="CITEREFSavill1999" class="citation web cs1">Savill, John (5 March 1999). <a rel="nofollow" class="external text" href="http://windowsitpro.com/windows/what-are-errorcontrol-start-and-type-values-under-services-subkeys">"What are the ErrorControl, Start and Type values under the Services subkeys?"</a>. <i>Windows IT Pro</i>. <a href="Penton_Media" class="mw-redirect" title="Penton Media">Penton Media</a><span class="reference-accessdate">. Retrieved <span class="nowrap">29 March</span> 2013</span>.</cite></li>
<li>David B. Probert, <a rel="nofollow" class="external text" href="http://www.i.u-tokyo.ac.jp/edu/training/ss/lecture/new-documents/Lectures/11-WindowsServices/WindowsServices.ppt">Windows Service Processes</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1290876196">
/* start https://en.wikipedia.org/ */
.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:var(--background-color-interactive-subtle,#f8f9fa);display:flow-root}.mw-parser-output .infobox .side-box{font-size:100%}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}
/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1237033735">
/* start https://en.wikipedia.org/ */
@media print{body.ns-0 .mw-parser-output .sistersitebox{display:none!important}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}
/* end https://en.wikipedia.org/ */
</style><div class="side-box side-box-right sistersitebox"><style data-mw-deduplicate="TemplateStyles:r1126788409">
/* start https://en.wikipedia.org/ */
.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}
/* end https://en.wikipedia.org/ */
</style>
<div class="side-box-flex">
<div class="side-box-image"><span class="noviewer" typeof="mw:File"></span></div>
<div class="side-box-text plainlist">Wikibooks has a book on the topic of: <i><b><a href="https://en.wikibooks.org/wiki/Guide_to_Windows_Commands" class="extiw external" title="wikibooks:Guide to Windows Commands">Guide to Windows Commands</a></b></i></div></div>
</div>
<ul><li><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/sysinternals/bb963902.aspx">Windows Sysinternals: Autoruns for Windows v13.4</a> – An extremely detailed query of services</li>
<li><a rel="nofollow" class="external text" href="https://www.poftut.com/service-management-windows-sc-command-line/">Service Management With Windows Sc From Command Line</a> – Windows Service Management Tutorial</li>
<li><a rel="nofollow" class="external text" href="https://github.com/patrikx3/service-manager-tray-for-windows/">Windows Service Manager Tray</a></li></ul>
<div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1129693374">
/* start https://en.wikipedia.org/ */
.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}
/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1236075235">
/* start https://en.wikipedia.org/ */
.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}
/* end https://en.wikipedia.org/ */
</style></div><div role="navigation" class="navbox" aria-labelledby="Microsoft_Windows_components875" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><style data-mw-deduplicate="TemplateStyles:r1239400231">
/* start https://en.wikipedia.org/ */
.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}
/* end https://en.wikipedia.org/ */
</style><div id="Microsoft_Windows_components875" style="font-size:114%;margin:0 4em"><a href="List_of_Microsoft_Windows_components" title="List of Microsoft Windows components">Microsoft Windows components</a></div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>
<ul><li><a href="List_of_Microsoft_Windows_application_programming_interfaces_and_frameworks" title="List of Microsoft Windows application programming interfaces and frameworks">APIs</a></li>
<li>Architecture
<ul><li><a href="Architecture_of_Windows_9x" title="Architecture of Windows 9x">9x</a></li>
<li><a href="Architecture_of_Windows_NT" title="Architecture of Windows NT">NT</a></li></ul></li>
<li><a href="Booting_process_of_Windows" title="Booting process of Windows">Booting process</a></li>
<li><a href="List_of_games_included_with_Windows" title="List of games included with Windows">Games</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Management<br>tools</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="App_Installer" title="App Installer">App Installer</a></li>
<li><a href="Cmd.exe" title="Cmd.exe">Command Prompt</a></li>
<li><a href="Control_Panel_(Windows)" title="Control Panel (Windows)">Control Panel</a></li>
<li><a href="Device_Manager" title="Device Manager">Device Manager</a></li>
<li><a href="DirectX_Diagnostic_Tool" title="DirectX Diagnostic Tool">DirectX Diagnostic Tool</a></li>
<li><a href="Disk_Cleanup" title="Disk Cleanup">Disk Cleanup</a></li>
<li><a href="Microsoft_Drive_Optimizer" title="Microsoft Drive Optimizer">Drive Optimizer</a></li>
<li><a href="Driver_Verifier" title="Driver Verifier">Driver Verifier</a></li>
<li><a href="Event_Viewer" title="Event Viewer">Event Viewer</a></li>
<li><a href="IExpress" title="IExpress">IExpress</a></li>
<li><a href="Microsoft_Management_Console" title="Microsoft Management Console">Management Console</a></li>
<li><a href="Netsh" title="Netsh">Netsh</a></li>
<li><a href="Performance_Monitor" title="Performance Monitor">Performance Monitor</a></li>
<li><a href="PowerShell" title="PowerShell">PowerShell</a></li>
<li><a href="Recovery_Console" title="Recovery Console">Recovery Console</a></li>
<li><a href="Resource_Monitor" title="Resource Monitor">Resource Monitor</a></li>
<li><a href="Settings_(Windows)" title="Settings (Windows)">Settings</a></li>
<li><a href="Sysprep" title="Sysprep">Sysprep</a></li>
<li><a href="MSConfig" title="MSConfig">System Configuration</a></li>
<li><a href="System_File_Checker" title="System File Checker">System File Checker</a></li>
<li><a href="System_Information_(Windows)" title="System Information (Windows)">System Information</a></li>
<li><a href="System_Policy_Editor" title="System Policy Editor">System Policy Editor</a></li>
<li><a href="System_Restore" title="System Restore">System Restore</a></li>
<li><a href="Task_Manager_(Windows)" title="Task Manager (Windows)">Task Manager</a></li>
<li><a href="Windows_Error_Reporting" title="Windows Error Reporting">Windows Error Reporting</a></li>
<li><a href="Windows_Ink" title="Windows Ink">Windows Ink</a></li>
<li><a href="Windows_Installer" title="Windows Installer">Windows Installer</a></li>
<li><a href="Windows_Update" title="Windows Update">Windows Update</a>
<ul><li><a href="Windows_Insider" title="Windows Insider">Windows Insider</a></li></ul></li>
<li><a href="Windows_Preinstallation_Environment#Windows_Recovery_Environment" title="Windows Preinstallation Environment">WinRE</a></li>
<li><a href="Windows_Management_Instrumentation" title="Windows Management Instrumentation">WMI</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Application_software" title="Application software">Apps</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Microsoft_3D_Viewer" title="Microsoft 3D Viewer">3D Viewer</a></li>
<li><a href="Windows_Calculator" title="Windows Calculator">Calculator</a></li>
<li><a href="Calendar_(Windows)" title="Calendar (Windows)">Calendar</a></li>
<li><a href="Windows_Camera" title="Windows Camera">Camera</a></li>
<li><a href="Character_Map_(Windows)" title="Character Map (Windows)">Character Map</a></li>
<li><a href="City_Art_Search" title="City Art Search">City Art Search</a></li>
<li><a href="Clipchamp" title="Clipchamp">Clipchamp</a></li>
<li><a href="Windows_Clock" title="Windows Clock">Clock</a></li>
<li><a href="Microsoft_Intune" title="Microsoft Intune">Company Portal</a></li>
<li><a href="Microsoft_Copilot" title="Microsoft Copilot">Copilot</a></li>
<li><a href="Microsoft_Edge" title="Microsoft Edge">Edge</a></li>
<li><a href="Windows_Fax_and_Scan" title="Windows Fax and Scan">Fax and Scan</a></li>
<li><a href="Feedback_Hub" title="Feedback Hub">Feedback Hub</a></li>
<li><a href="Get_Help" title="Get Help">Get Help</a></li>
<li><a href="Magnifier_(Windows)" title="Magnifier (Windows)">Magnifier</a></li>
<li><a href="Mail_(Windows)" title="Mail (Windows)">Mail</a></li>
<li><a href="Windows_Media_Player" title="Windows Media Player">Media Player</a>
<ul><li><a href="Windows_Media_Player_(2022)" title="Windows Media Player (2022)">2022</a></li></ul></li>
<li><a href="Microsoft_Mesh" title="Microsoft Mesh">Mesh</a></li>
<li><a href="Microsoft_Messaging" title="Microsoft Messaging">Messaging</a></li>
<li><a href="Windows_Mobility_Center" title="Windows Mobility Center">Mobility Center</a></li>
<li><a href="MSN#MSN_Money_app" title="MSN">Money</a></li>
<li><a href="Microsoft_Movies_%26_TV" title="Microsoft Movies & TV">Movies & TV</a></li>
<li><a href="Narrator_(Windows)" title="Narrator (Windows)">Narrator</a></li>
<li><a href="MSN#MSN_app" title="MSN">News</a></li>
<li><a href="Windows_Notepad" title="Windows Notepad">Notepad</a></li>
<li><a href="OneDrive" title="OneDrive">OneDrive</a></li>
<li><a href="Microsoft_OneNote" title="Microsoft OneNote">OneNote</a></li>
<li><a href="Microsoft_Paint" title="Microsoft Paint">Paint</a></li>
<li><a href="Microsoft_PC_Manager" title="Microsoft PC Manager">PC Manager</a></li>
<li><a href="People_(Windows)" title="People (Windows)">People</a></li>
<li><a href="Phone_Link" title="Phone Link">Phone Link</a></li>
<li><a href="Photos_(Windows)" title="Photos (Windows)">Photos</a></li>
<li><a href="Quick_Assist" title="Quick Assist">Quick Assist</a></li>
<li><a href="Remote_Desktop_Connection" class="mw-redirect" title="Remote Desktop Connection">Remote Desktop Connection</a></li>
<li><a href="Snipping_Tool" title="Snipping Tool">Snipping Tool</a></li>
<li><a href="Windows_Speech_Recognition" title="Windows Speech Recognition">Speech Recognition</a></li>
<li><a href="Sticky_Notes" title="Sticky Notes">Sticky Notes</a></li>
<li><a href="Microsoft_Store" title="Microsoft Store">Store</a></li>
<li><a href="Windows_Terminal" title="Windows Terminal">Terminal</a></li>
<li><a href="Microsoft_Tips" title="Microsoft Tips">Tips</a></li>
<li><a href="Microsoft_To_Do" title="Microsoft To Do">To Do</a></li>
<li><a href="Sound_Recorder_(Windows)" title="Sound Recorder (Windows)">Voice Recorder</a></li>
<li><a href="MSN#MSN_Weather_app" title="MSN">Weather</a></li>
<li><a href="Microsoft_Whiteboard" title="Microsoft Whiteboard">Whiteboard</a></li>
<li><a href="List_of_Remote_Desktop_Protocol_clients#Windows_App" title="List of Remote Desktop Protocol clients">Windows App</a></li>
<li><a href="Xbox_(app)" title="Xbox (app)">Xbox</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Windows_shell" title="Windows shell">Shell</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Action_Center" title="Action Center">Action Center</a></li>
<li><a href="Windows_Aero" title="Windows Aero">Aero</a></li>
<li><a href="AutoPlay" title="AutoPlay">AutoPlay</a></li>
<li><a href="AutoRun" title="AutoRun">AutoRun</a></li>
<li><a href="ClearType" title="ClearType">ClearType</a></li>
<li><a href="File_Explorer" title="File Explorer">Explorer</a></li>
<li><a href="Windows_Search" title="Windows Search">Search</a>
<ul><li><a href="IFilter" title="IFilter">IFilter</a></li>
<li><a href="Indexing_Service" title="Indexing Service">Indexing Service</a></li>
<li><a href="Windows_Shell_namespace" title="Windows Shell namespace">Namespace</a></li>
<li><a href="Virtual_folder#Windows" title="Virtual folder">Saved search</a></li>
<li><a href="Special_folder" title="Special folder">Special folder</a></li></ul></li>
<li><a href="Start_menu" title="Start menu">Start menu</a></li>
<li><a href="Task_View" title="Task View">Task View</a></li>
<li><a href="Taskbar" title="Taskbar">Taskbar</a></li>
<li><a href="Windows_Spotlight" title="Windows Spotlight">Windows Spotlight</a></li>
<li><a href="Windows_XP_visual_styles" title="Windows XP visual styles">Windows XP visual styles</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Background_Intelligent_Transfer_Service" title="Background Intelligent Transfer Service">BITS</a></li>
<li><a href="Common_Log_File_System" title="Common Log File System">CLFS</a></li>
<li><a href="Windows_Error_Reporting" title="Windows Error Reporting">Error Reporting</a></li>
<li><a href="Multimedia_Class_Scheduler_Service" title="Multimedia Class Scheduler Service">Multimedia Class Scheduler</a></li>
<li><a href="Service_Control_Manager" title="Service Control Manager">Service Control Manager</a></li>
<li><a href="Shadow_Copy" title="Shadow Copy">Shadow Copy</a></li>
<li><a href="Windows_Task_Scheduler" title="Windows Task Scheduler">Task Scheduler</a></li>
<li><a href="Wireless_Zero_Configuration" title="Wireless Zero Configuration">Wireless Zero Configuration</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="File_system" title="File system">File systems</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="ISO_9660" title="ISO 9660">CDFS</a></li>
<li><a href="Distributed_File_System_(Microsoft)" title="Distributed File System (Microsoft)">DFS</a></li>
<li><a href="ExFAT" title="ExFAT">exFAT</a></li>
<li><a href="File_Allocation_Table" title="File Allocation Table">FAT</a></li>
<li><a href="Installable_File_System" title="Installable File System">IFS</a></li>
<li><a href="NTFS" title="NTFS">NTFS</a>
<ul><li><a href="Encrypting_File_System" title="Encrypting File System">EFS</a></li>
<li><a href="Hard_link" title="Hard link">Hard link</a></li>
<li><a href="NTFS_links" title="NTFS links">links</a></li>
<li><a href="NTFS_volume_mount_point" title="NTFS volume mount point">Mount Point</a></li>
<li><a href="NTFS_reparse_point" title="NTFS reparse point">Reparse point</a></li>
<li><a href="Transactional_NTFS" title="Transactional NTFS">TxF</a></li></ul></li>
<li><a href="ReFS" title="ReFS">ReFS</a></li>
<li><a href="Universal_Disk_Format" title="Universal Disk Format">UDF</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Server_(computing)" title="Server (computing)">Server</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Active_Directory" title="Active Directory">Active Directory</a></li>
<li><a href="Active_Directory_Rights_Management_Services" title="Active Directory Rights Management Services">Active DRM Services</a></li>
<li><a href="File_Replication_Service" title="File Replication Service">DFS Replication</a></li>
<li><a href="Microsoft_Distributed_Transaction_Coordinator" title="Microsoft Distributed Transaction Coordinator">Distributed Transaction Coordinator</a></li>
<li><a href="Microsoft_DNS" title="Microsoft DNS">DNS</a></li>
<li><a href="Windows_domain" title="Windows domain">Domains</a></li>
<li><a href="Folder_redirection" title="Folder redirection">Folder redirection</a></li>
<li><a href="Group_Policy" title="Group Policy">Group Policy</a></li>
<li><a href="Hyper-V" title="Hyper-V">Hyper-V</a></li>
<li><a href="Internet_Information_Services" title="Internet Information Services">IIS</a></li>
<li><a href="Microsoft_Message_Queuing" title="Microsoft Message Queuing">MSMQ</a></li>
<li><a href="Network_Access_Protection" title="Network Access Protection">Network Access Protection</a></li>
<li>Print Services for UNIX</li>
<li><a href="Microsoft_Personal_Web_Server" title="Microsoft Personal Web Server">PWS</a></li>
<li><a href="Remote_Desktop_Services" title="Remote Desktop Services">Remote Desktop Services</a></li>
<li><a href="Remote_Differential_Compression" title="Remote Differential Compression">Remote Differential Compression</a></li>
<li><a href="Remote_Installation_Services" title="Remote Installation Services">Remote Installation Services</a></li>
<li><a href="Roaming_user_profile" title="Roaming user profile">Roaming user profiles</a></li>
<li><a href="Server_Core" title="Server Core">Server Core</a></li>
<li><a href="SharePoint" title="SharePoint">SharePoint</a></li>
<li><a href="Windows_System_Resource_Manager" title="Windows System Resource Manager">System Resource Manager</a></li>
<li><a href="Windows_Deployment_Services" title="Windows Deployment Services">Windows Deployment Services</a></li>
<li><a href="Windows_Media_Services" title="Windows Media Services">Windows Media Services</a></li>
<li><a href="Windows_Server_Update_Services" title="Windows Server Update Services">WSUS</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Software_architecture" title="Software architecture">Architecture</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Windows_Boot_Manager" title="Windows Boot Manager">Boot Manager</a></li>
<li><a href="Windows_Console" title="Windows Console">Console</a></li>
<li><a href="Client/Server_Runtime_Subsystem" title="Client/Server Runtime Subsystem">CSRSS</a></li>
<li><a href="Desktop_Window_Manager" title="Desktop Window Manager">Desktop Window Manager</a></li>
<li><a href="Enhanced_Write_Filter" title="Enhanced Write Filter">Enhanced Write Filter</a></li>
<li><a href="Graphics_Device_Interface" title="Graphics Device Interface">Graphics Device Interface</a></li>
<li><a href="Microsoft_Windows_library_files#Hardware_Abstraction_Layer" title="Microsoft Windows library files">Hardware Abstraction Layer</a></li>
<li><a href="I/O_request_packet" title="I/O request packet">I/O request packet</a></li>
<li><a href="Windows_Imaging_Format" title="Windows Imaging Format">Imaging Format</a></li>
<li><a href="Kernel_Transaction_Manager" title="Kernel Transaction Manager">Kernel Transaction Manager</a></li>
<li><a href="Microsoft_Windows_library_files" title="Microsoft Windows library files">Library files</a></li>
<li><a href="Logical_Disk_Manager" title="Logical Disk Manager">Logical Disk Manager</a></li>
<li><a href="Local_Security_Authority_Subsystem_Service" title="Local Security Authority Subsystem Service">LSASS</a></li>
<li><a href="MinWin" title="MinWin">MinWin</a></li>
<li><a href="NTLDR" title="NTLDR">NTLDR</a></li>
<li><a href="Ntoskrnl.exe" title="Ntoskrnl.exe">Ntoskrnl.exe</a></li>
<li><a href="Object_Manager" title="Object Manager">Object Manager</a></li>
<li><a href="Open_XML_Paper_Specification" title="Open XML Paper Specification">Open XML Paper Specification</a></li>
<li><a href="Portable_Executable" title="Portable Executable">Portable Executable</a>
<ul><li><a href="Dynamic-link_library" title="Dynamic-link library">DLL</a></li>
<li><a href=".exe" title=".exe">EXE</a></li></ul></li>
<li><a href="Windows_Registry" title="Windows Registry">Registry</a></li>
<li><a href="Windows_Resource_Protection" title="Windows Resource Protection">Resource Protection</a></li>
<li><a href="Security_Account_Manager" title="Security Account Manager">Security Account Manager</a></li>
<li><a href="Server_Message_Block" title="Server Message Block">Server Message Block</a></li>
<li><a href="Shadow_Copy" title="Shadow Copy">Shadow Copy</a></li>
<li><a href="Session_Manager_Subsystem" title="Session Manager Subsystem">SMSS</a></li>
<li><a href="System_Idle_Process" title="System Idle Process">System Idle Process</a></li>
<li><a href="Windows_USER" title="Windows USER">USER</a></li>
<li><a href="Windows_Hardware_Error_Architecture" title="Windows Hardware Error Architecture">WHEA</a></li>
<li><a href="Winlogon" title="Winlogon">Winlogon</a></li>
<li><a href="WinUSB" title="WinUSB">WinUSB</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Security</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Security_and_Maintenance" title="Security and Maintenance">Security and Maintenance</a></li>
<li><a href="AppLocker" title="AppLocker">AppLocker</a></li>
<li><a href="BitLocker" title="BitLocker">BitLocker</a></li>
<li><a href="Credential_Guard" title="Credential Guard">Credential Guard</a></li>
<li><a href="Data_Execution_Prevention" class="mw-redirect" title="Data Execution Prevention">Data Execution Prevention</a></li>
<li><a href="Microsoft_Defender_Antivirus" title="Microsoft Defender Antivirus">Defender</a></li>
<li><a href="Microsoft_family_features" title="Microsoft family features">Family features</a></li>
<li><a href="Kernel_Patch_Protection" title="Kernel Patch Protection">Kernel Patch Protection</a></li>
<li><a href="Mandatory_Integrity_Control" title="Mandatory Integrity Control">Mandatory Integrity Control</a></li>
<li><a href="Protected_Media_Path" title="Protected Media Path">Protected Media Path</a></li>
<li><a href="User_Account_Control" title="User Account Control">User Account Control</a></li>
<li><a href="User_Interface_Privilege_Isolation" title="User Interface Privilege Isolation">User Interface Privilege Isolation</a></li>
<li><a href="Windows_Firewall" title="Windows Firewall">Windows Firewall</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Compatibility</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a></li>
<li><a href="Windows_Subsystem_for_Linux" title="Windows Subsystem for Linux">Windows Subsystem for Linux</a></li>
<li><a href="WoW64" title="WoW64">WoW64</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="API" title="API">API</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Active_Scripting" title="Active Scripting">Active Scripting</a>
<ul><li><a href="JScript" title="JScript">JScript</a></li>
<li><a href="VBScript" title="VBScript">VBScript</a></li>
<li><a href="Windows_Script_Host" title="Windows Script Host">WSH</a></li></ul></li>
<li><a href="Component_Object_Model" title="Component Object Model">COM</a>
<ul><li><a href="ActiveX" title="ActiveX">ActiveX</a></li>
<li><a href="ActiveX_Document" title="ActiveX Document">ActiveX Document</a></li>
<li><a href="COM_Structured_Storage" title="COM Structured Storage">COM Structured storage</a></li>
<li><a href="Distributed_Component_Object_Model" title="Distributed Component Object Model">DCOM</a></li>
<li><a href="Object_Linking_and_Embedding" title="Object Linking and Embedding">OLE</a></li>
<li><a href="OLE_Automation" title="OLE Automation">OLE Automation</a></li>
<li><a href="Microsoft_Transaction_Server" title="Microsoft Transaction Server">Transaction Server</a></li></ul></li>
<li><a href="DirectX" title="DirectX">DirectX</a></li>
<li><a href="Windows_Native_API" title="Windows Native API">Native</a></li>
<li><a href=".NET" title=".NET">.NET</a></li>
<li><a href="Universal_Windows_Platform" title="Universal Windows Platform">Universal Windows Platform</a></li>
<li><a href="Windows_API" title="Windows API">WinAPI</a></li>
<li><a href="Windows_Mixed_Reality" title="Windows Mixed Reality">Windows Mixed Reality</a></li>
<li><a href="Windows_Runtime" title="Windows Runtime">Windows Runtime</a></li>
<li><a href="WinUSB" title="WinUSB">WinUSB</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Video_game" title="Video game">Games</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><i><a href="Microsoft_Solitaire_Collection" title="Microsoft Solitaire Collection">Solitaire Collection</a></i></li>
<li><i><a href="Surf_(video_game)" title="Surf (video game)">Surf</a></i></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Discontinued</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%">Games</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><i><a href="Full_Tilt!_Pinball#3D_Pinball_for_Windows_–_Space_Cadet" title="Full Tilt! Pinball">3D Pinball</a></i></li>
<li><i><a href="Chess_Titans" title="Chess Titans">Chess Titans</a></i></li>
<li><i><a href="Microsoft_FreeCell" title="Microsoft FreeCell">FreeCell</a></i></li>
<li><i><a href="Microsoft_Hearts" title="Microsoft Hearts">Hearts</a></i></li>
<li><i><a href="Windows_Ultimate_Extras" title="Windows Ultimate Extras">Hold 'Em</a></i></li>
<li><i><a href="InkBall" title="InkBall">InkBall</a></i></li>
<li><i><a href="Purble_Place" title="Purble Place">Purble Place</a></i></li>
<li><i><a href="Microsoft_Solitaire" title="Microsoft Solitaire">Solitaire</a></i></li>
<li><i><a href="Microsoft_Spider_Solitaire" title="Microsoft Spider Solitaire">Spider Solitaire</a></i></li>
<li><i><a href="Microsoft_Tinker" title="Microsoft Tinker">Tinker</a></i></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Apps</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="ActiveMovie" title="ActiveMovie">ActiveMovie</a></li>
<li><a href="Windows_Address_Book" title="Windows Address Book">Address Book</a></li>
<li><a href="Windows_Anytime_Upgrade" title="Windows Anytime Upgrade">Anytime Upgrade</a></li>
<li><a href="Backup_and_Restore" title="Backup and Restore">Backup and Restore</a></li>
<li><a href="Cardfile" title="Cardfile">Cardfile</a></li>
<li><a href="Windows_CardSpace" title="Windows CardSpace">CardSpace</a></li>
<li><a href="CD_Player_(Windows)" title="CD Player (Windows)">CD Player</a></li>
<li><a href="Windows_Chat" title="Windows Chat">Chat</a></li>
<li><a href="Windows_Contacts" title="Windows Contacts">Contacts</a></li>
<li><a href="Cortana_(virtual_assistant)" title="Cortana (virtual assistant)">Cortana</a></li>
<li><a href="Windows_Desktop_Gadgets" title="Windows Desktop Gadgets">Desktop Gadgets</a></li>
<li><a href="Microsoft_Diagnostics" title="Microsoft Diagnostics">Diagnostics</a></li>
<li><a href="DriveSpace" title="DriveSpace">DriveSpace</a></li>
<li><a href="Windows_DVD_Maker" title="Windows DVD Maker">DVD Maker</a></li>
<li><a href="Windows_Easy_Transfer" title="Windows Easy Transfer">Easy Transfer</a></li>
<li><a href="Microsoft_Edge_Legacy" title="Microsoft Edge Legacy">Edge Legacy</a></li>
<li><a href="Microsoft_Fax" class="mw-redirect" title="Microsoft Fax">Fax</a></li>
<li><a href="MSN_Food_%26_Drink" class="mw-redirect" title="MSN Food & Drink">Food & Drink</a></li>
<li><a href="Groove_Music" title="Groove Music">Groove Music</a></li>
<li><a href="MSN_Health_%26_Fitness" class="mw-redirect" title="MSN Health & Fitness">Health & Fitness</a></li>
<li><a href="Help_and_Support_Center" class="mw-redirect" title="Help and Support Center">Help and Support Center</a></li>
<li><a href="HyperACCESS" title="HyperACCESS">HyperTerminal</a></li>
<li><a href="Imaging_for_Windows" title="Imaging for Windows">Imaging</a></li>
<li><a href="Internet_Explorer" title="Internet Explorer">Internet Explorer</a></li>
<li><a href="Windows_Journal" title="Windows Journal">Journal</a></li>
<li><a href="Make_Compatible" title="Make Compatible">Make Compatible</a></li>
<li><a href="Windows_Maps" title="Windows Maps">Maps</a></li>
<li><a href="Windows_Media_Center" title="Windows Media Center">Media Center</a></li>
<li><a href="Windows_Meeting_Space" title="Windows Meeting Space">Meeting Space</a></li>
<li><a href="Windows_Messaging" title="Windows Messaging">Messaging</a></li>
<li><a href="Windows_Messenger" title="Windows Messenger">Messenger</a></li>
<li><a href="Windows_Mobile_Device_Center" title="Windows Mobile Device Center">Mobile Device Center</a></li>
<li><a href="Windows_Movie_Maker" title="Windows Movie Maker">Movie Maker</a></li>
<li><a href="MSN_Dial-Up_Internet_Access" title="MSN Dial-Up Internet Access">MSN Dial-Up</a></li>
<li><a href="Microsoft_NetMeeting" title="Microsoft NetMeeting">NetMeeting</a></li>
<li><a href="NTBackup" title="NTBackup">NTBackup</a></li>
<li><a href="Outlook_Express" title="Outlook Express">Outlook Express</a></li>
<li><a href="Paint_3D" title="Paint 3D">Paint 3D</a></li>
<li><a href="Microsoft_Pay" title="Microsoft Pay">Pay</a></li>
<li><a href="Phone_Companion" title="Phone Companion">Phone Companion</a></li>
<li><a href="Windows_Photo_Gallery" title="Windows Photo Gallery">Photo Gallery</a></li>
<li><a href="Windows_Photo_Viewer" title="Windows Photo Viewer">Photo Viewer</a></li>
<li><a href="Program_Manager" title="Program Manager">Program Manager</a></li>
<li><a href="Skype" title="Skype">Skype</a></li>
<li><a href="MSN#Discontinued_apps" title="MSN">Sports</a></li>
<li><a href="Microsoft_Start" title="Microsoft Start">Start</a></li>
<li><a href="Problem_Steps_Recorder" class="mw-redirect" title="Problem Steps Recorder">Steps Recorder</a></li>
<li><a href="Syskey" title="Syskey">Syskey</a></li>
<li><a href="Travel_(Windows)" class="mw-redirect" title="Travel (Windows)">Travel</a></li>
<li><a href="WinHelp" title="WinHelp">WinHelp</a></li>
<li><a href="WordPad" title="WordPad">WordPad</a></li>
<li><a href="Microsoft_Write" title="Microsoft Write">Write</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Others</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Desktop_Cleanup_Wizard" title="Desktop Cleanup Wizard">Desktop Cleanup Wizard</a></li>
<li><a href="Windows_File_Protection" title="Windows File Protection">File Protection</a></li>
<li><a href="Games_for_Windows" title="Games for Windows">Games for Windows</a></li>
<li><a href="High_Performance_File_System" title="High Performance File System">HPFS</a></li>
<li><a href="Interix" title="Interix">Interix</a></li>
<li><a href="Media_Control_Interface" title="Media Control Interface">Media Control Interface</a></li>
<li><a href="MS-DOS_7" title="MS-DOS 7">MS-DOS 7</a></li>
<li><a href="Next-Generation_Secure_Computing_Base" title="Next-Generation Secure Computing Base">Next-Generation Secure Computing Base</a></li>
<li><a href="Microsoft_POSIX_subsystem" title="Microsoft POSIX subsystem">POSIX subsystem</a></li>
<li><a href="Microsoft_ScanDisk" title="Microsoft ScanDisk">ScanDisk</a></li>
<li><a href="Video_for_Windows" title="Video for Windows">Video for Windows</a></li>
<li><a href="Virtual_DOS_machine" title="Virtual DOS machine">Virtual DOS machine</a></li>
<li><a href="Windows_on_Windows" title="Windows on Windows">Windows on Windows</a></li>
<li><a href="Windows_Services_for_UNIX" title="Windows Services for UNIX">Windows Services for UNIX</a></li>
<li><a href="Windows_SideShow" title="Windows SideShow">Windows SideShow</a></li>
<li><a href="Windows_System_Assessment_Tool" title="Windows System Assessment Tool">Windows System Assessment Tool</a></li>
<li><a href="Windows_To_Go" title="Windows To Go">Windows To Go</a></li>
<li><a href="WinFS" title="WinFS">WinFS</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Spun off to<br><a href="Microsoft_Store" title="Microsoft Store">Microsoft Store</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="DVD_Player_(Windows)" title="DVD Player (Windows)">DVD Player</a></li>
<li><a href="Windows_File_Manager" title="Windows File Manager">File Manager</a></li>
<li><a href="Hover!" title="Hover!">Hover!</a></li>
<li><a href="Microsoft_Mahjong" title="Microsoft Mahjong">Mahjong</a></li>
<li><a href="Microsoft_Minesweeper" title="Microsoft Minesweeper">Minesweeper</a></li></ul>
</div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>
<ul><li><span class="noviewer" typeof="mw:File"><span title="Category"></span></span> Category</li>
<li><span class="noviewer" typeof="mw:File"><span title="List-Class article"></span></span> <a href="List_of_Microsoft_Windows_components" title="List of Microsoft Windows components">List</a></li></ul>
</div></td></tr></tbody></table></div>
<div class="navbox-styles"></div><div role="navigation" class="navbox" aria-labelledby="Windows_command-line_programs_and_shell_builtins413" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Windows_command-line_programs_and_shell_builtins413" style="font-size:114%;margin:0 4em"><a href="Microsoft_Windows" title="Microsoft Windows">Windows</a> <a href="Command-line_interface" title="Command-line interface">command-line</a> programs and <a href="Shell_builtin" title="Shell builtin">shell builtins</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Ecosystem</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Command-line_interpreter" class="mw-redirect" title="Command-line interpreter">Interpreters</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a></li>
<li><a href="Cmd.exe" title="Cmd.exe">Command Prompt</a></li>
<li><a href="PowerShell" title="PowerShell">PowerShell</a></li>
<li><a href="Recovery_Console" title="Recovery Console">Recovery Console</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Terminal_emulator" title="Terminal emulator">Terminals</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Windows_Console" title="Windows Console">Windows Console</a></li>
<li><a href="Windows_Terminal" title="Windows Terminal">Windows Terminal</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">File system navigation</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cd_(command)" title="Cd (command)">cd</a> (chdir)</li>
<li><a href="Dir_(command)" title="Dir (command)">dir</a></li>
<li><a href="Pushd_and_popd" title="Pushd and popd">popd</a></li>
<li><a href="Pushd_and_popd" title="Pushd and popd">pushd</a></li>
<li><a href="Tree_(command)" title="Tree (command)">tree</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">File management</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="ATTRIB" title="ATTRIB">attrib</a></li>
<li><a href="Cacls" title="Cacls">cacls</a></li>
<li><a href="Encrypting_File_System" title="Encrypting File System">cipher</a></li>
<li><a href="Compact_(computing)" class="mw-redirect" title="Compact (computing)">compact</a></li>
<li><a href="Copy_(command)" title="Copy (command)">copy</a></li>
<li><a href="Del_(command)" title="Del (command)">del</a> (erase)</li>
<li><a href="Deltree" class="mw-redirect" title="Deltree">deltree</a></li>
<li><a href="Cacls#icacls" title="Cacls">icacls</a></li>
<li><a href="Mkdir" title="Mkdir">mkdir</a> (md)</li>
<li><a href="Mklink" class="mw-redirect" title="Mklink">mklink</a></li>
<li><a href="Move_(command)" title="Move (command)">move</a></li>
<li><a href="Openfiles" class="mw-redirect" title="Openfiles">openfiles</a></li>
<li><a href="Recover_(command)" title="Recover (command)">recover</a></li>
<li><a href="Ren_(command)" title="Ren (command)">ren</a> (rename)</li>
<li><a href="Replace_(command)" title="Replace (command)">replace</a></li>
<li><a href="Rmdir" title="Rmdir">rmdir</a> (rd)</li>
<li><a href="Robocopy" title="Robocopy">robocopy</a></li>
<li><a href="Takeown" class="mw-redirect" title="Takeown">takeown</a></li>
<li><a href="XCOPY" title="XCOPY">xcopy</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Archiving</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cabinet_(file_format)" title="Cabinet (file format)">expand</a></li>
<li><a href="Cabinet_(file_format)" title="Cabinet (file format)">extrac32</a></li>
<li><a href="Cabinet_(file_format)" title="Cabinet (file format)">extract</a></li>
<li><a href="Cabinet_(file_format)" title="Cabinet (file format)">makecab</a></li>
<li><a href="Pax_(command)" title="Pax (command)">pax</a></li>
<li><a href="Tar_(computing)" title="Tar (computing)">tar</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Disk management</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="CHKDSK" title="CHKDSK">chkdsk</a></li>
<li><a href="Convert_(command)" title="Convert (command)">convert</a></li>
<li><a href="Disk_Defragmenter_(Windows)" class="mw-redirect" title="Disk Defragmenter (Windows)">defrag</a></li>
<li><a href="Diskcomp" title="Diskcomp">diskcomp</a></li>
<li><a href="Diskcopy" title="Diskcopy">diskcopy</a></li>
<li><a href="Diskpart" title="Diskpart">diskpart</a></li>
<li><a href="Diskraid" class="mw-redirect" title="Diskraid">diskraid</a></li>
<li><a href="Shadow_Copy" title="Shadow Copy">diskshadow</a></li>
<li><a href="Drvspace" class="mw-redirect" title="Drvspace">drvspace</a></li>
<li><a href="Fdisk" title="Fdisk">fdisk</a></li>
<li><a href="Format_(command)" title="Format (command)">format</a></li>
<li><a href="Fsutil" class="mw-redirect" title="Fsutil">fsutil</a></li>
<li><a href="Label_(command)" title="Label (command)">label</a></li>
<li><a href="BitLocker" title="BitLocker">manage-bde</a></li>
<li><a href="MSCDEX" title="MSCDEX">MSCDEX</a></li>
<li><a href="Refsutil" class="mw-redirect" title="Refsutil">refsutil</a></li>
<li><a href="SUBST" title="SUBST">subst</a></li>
<li><a href="Microsoft_ScanDisk" title="Microsoft ScanDisk">scandisk</a></li>
<li><a href="SYS_(command)" title="SYS (command)">sys</a></li>
<li><a href="Vol_(command)" title="Vol (command)">vol</a></li>
<li><a href="Shadow_Copy" title="Shadow Copy">vssadmin</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Processes</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="At_(command)" title="At (command)">at</a></li>
<li><a href="Exit_(command)" title="Exit (command)">exit</a></li>
<li><a href="Kill_(command)" title="Kill (command)">kill</a></li>
<li><a href="Runas" title="Runas">runas</a></li>
<li><a href="Windows_Task_Scheduler" title="Windows Task Scheduler">schtasks</a></li>
<li><a href="Shutdown_(computing)" title="Shutdown (computing)">shutdown</a></li>
<li><a href="Start_(command)" title="Start (command)">start</a></li>
<li><a href="Taskkill" class="mw-redirect" title="Taskkill">taskkill</a></li>
<li><a href="Tasklist" title="Tasklist">tasklist</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Registry</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="File_association" title="File association">assoc</a></li>
<li><a href="Ftype" title="Ftype">ftype</a></li>
<li><a href="Windows_Registry#Command_line_editing" title="Windows Registry">reg</a></li>
<li><a href="Windows_Registry#Command_line_editing" title="Windows Registry">regini</a></li>
<li><a href="Regsvr32" title="Regsvr32">regsvr32</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">User environment</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="CHCP_(command)" class="mw-redirect" title="CHCP (command)">chcp</a></li>
<li><a href="Cmdkey" class="mw-redirect" title="Cmdkey">cmdkey</a></li>
<li><a href="DATE_(command)" class="mw-redirect" title="DATE (command)">date</a></li>
<li><a href="Graftabl" class="mw-redirect" title="Graftabl">graftabl</a></li>
<li><a href="Mode_(command)" class="mw-redirect" title="Mode (command)">mode</a></li>
<li><a href="PATH_(variable)" title="PATH (variable)">path</a></li>
<li><a href="Environment_variable#DOS,_OS/2_and_Windows_(Command_Prompt)" title="Environment variable">set</a></li>
<li><a href="Setver" class="mw-redirect" title="Setver">setver</a></li>
<li><a href="Environment_variable#DOS,_OS/2_and_Windows_(Command_Prompt)" title="Environment variable">setx</a></li>
<li><a href="TIME_(command)" title="TIME (command)">time</a></li>
<li><a href="Title_(command)" title="Title (command)">title</a></li>
<li><a href="Ver_(command)" title="Ver (command)">ver</a></li>
<li><a href="Where_(command)" class="mw-redirect" title="Where (command)">where</a></li>
<li><a href="Whoami" title="Whoami">whoami</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">File contents</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Comp_(command)" title="Comp (command)">comp</a></li>
<li><a href="MS-DOS_Editor" title="MS-DOS Editor">edit</a></li>
<li><a href="Edlin" title="Edlin">edlin</a></li>
<li><a href="File_Compare" title="File Compare">fc</a></li>
<li><a href="Find_(Windows)" title="Find (Windows)">find</a></li>
<li><a href="Findstr" title="Findstr">findstr</a></li>
<li><a href="PRINT_(command)" title="PRINT (command)">print</a></li>
<li><a href="TYPE_(DOS_command)" title="TYPE (DOS command)">type</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Scripting_language" title="Scripting language">Scripting</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Choice_(command)" title="Choice (command)">choice</a></li>
<li><a href="Clipboard_(computing)" title="Clipboard (computing)">clip</a></li>
<li><a href="Windows_Script_Host" title="Windows Script Host">cscript</a></li>
<li><a href="DOSKEY" title="DOSKEY">doskey</a></li>
<li><a href="Echo_(command)" title="Echo (command)">echo</a></li>
<li><a href="For_loop" title="For loop">for</a></li>
<li><a href="Forfiles" title="Forfiles">forfiles</a></li>
<li><a href="Goto" title="Goto">goto</a></li>
<li><a href="Conditional_(computer_programming)" title="Conditional (computer programming)">if</a></li>
<li><a href="More_(command)" title="More (command)">more</a></li>
<li><a href="Pause_(command)" class="mw-redirect" title="Pause (command)">pause</a></li>
<li><a href="Command-line_interface#Command_prompt" title="Command-line interface">prompt</a></li>
<li><a href="Comment_(computer_programming)" title="Comment (computer programming)">rem</a></li>
<li><a href="Timeout_(computing)" title="Timeout (computing)">timeout</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Networking</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Address_Resolution_Protocol" title="Address Resolution Protocol">arp</a></li>
<li><a href="Background_Intelligent_Transfer_Service" title="Background Intelligent Transfer Service">bitsadmin</a></li>
<li><a href="CURL" title="CURL">curl</a></li>
<li><a href="MAC_address" title="MAC address">getmac</a></li>
<li><a href="Hostname" title="Hostname">hostname</a></li>
<li><a href="Ipconfig" title="Ipconfig">ipconfig</a></li>
<li><a href="Nbtstat" class="mw-redirect" title="Nbtstat">nbtstat</a></li>
<li><a href="Net_(command)" title="Net (command)">net</a></li>
<li><a href="Netsh" title="Netsh">netsh</a></li>
<li><a href="Netstat" title="Netstat">netstat</a></li>
<li><a href="Nslookup" title="Nslookup">nslookup</a></li>
<li><a href="PathPing" title="PathPing">PathPing</a></li>
<li><a href="Ping_(networking_utility)" title="Ping (networking utility)">ping</a></li>
<li><a href="Rpcping" class="mw-redirect" title="Rpcping">rpcping</a></li>
<li><a href="Route_(command)" title="Route (command)">route</a></li>
<li><a href="Secure_copy_protocol" title="Secure copy protocol">scp</a></li>
<li><a href="Setspn" class="mw-redirect" title="Setspn">setspn</a></li>
<li><a href="Secure_file_transfer_program" title="Secure file transfer program">sftp</a></li>
<li><a href="OpenSSH" title="OpenSSH">ssh</a></li>
<li><a href="OpenSSH" title="OpenSSH">ssh-add</a></li>
<li><a href="Ssh-agent" title="Ssh-agent">ssh-agent</a></li>
<li><a href="Ssh-keygen" title="Ssh-keygen">ssh-keygen</a></li>
<li><a href="OpenSSH" title="OpenSSH">ssh-keyscan</a></li>
<li><a href="Traceroute" title="Traceroute">tracert</a></li>
<li><a href="Windows_Remote_Management" title="Windows Remote Management">winrm</a></li>
<li><a href="Windows_Remote_Management" title="Windows Remote Management">winrs</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Maintenance and care</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Auditpol" class="mw-redirect" title="Auditpol">auditpol</a></li>
<li><a href="Windows_Assessment_and_Deployment_Kit" title="Windows Assessment and Deployment Kit">dism</a></li>
<li><a href="Dispdiag" class="mw-redirect" title="Dispdiag">dispdiag</a></li>
<li><a href="Device_Manager#Driverquery_command" title="Device Manager">driverquery</a></li>
<li><a href="Event_Viewer" title="Event Viewer">eventcreate</a></li>
<li><a href="Event_Viewer" title="Event Viewer">eventtriggers</a></li>
<li><a href="Group_Policy" title="Group Policy">gpresult</a></li>
<li><a href="Group_Policy" title="Group Policy">gpupdate</a></li>
<li><a href="Logman" class="mw-redirect" title="Logman">logman</a></li>
<li><a href="Mofcomp" class="mw-redirect" title="Mofcomp">mofcomp</a></li>
<li><a href="Windows_Installer" title="Windows Installer">msiexec</a></li>
<li><a href="NTBackup" title="NTBackup">ntbackup</a></li>
<li><a href="Pentium_FDIV_bug#Software_patches" title="Pentium FDIV bug">pentnt</a></li>
<li><a href="Pnpunattend" class="mw-redirect" title="Pnpunattend">pnpunattend</a></li>
<li><a href="Pnputil" class="mw-redirect" title="Pnputil">pnputil</a></li>
<li><a href="REAgentC" class="mw-redirect" title="REAgentC">REAgentC</a></li>
<li><a href="Relog" class="mw-redirect" title="Relog">relog</a></li>
<li><a href="System_File_Checker" title="System File Checker">sfc</a></li>
<li><a href="Sxstrace" class="mw-redirect" title="Sxstrace">sxstrace</a></li>
<li><a href="Systeminfo" class="mw-redirect" title="Systeminfo">systeminfo</a></li>
<li><a href="Tpmtool" class="mw-redirect" title="Tpmtool">tpmtool</a></li>
<li><a href="Tpmvscmgr" class="mw-redirect" title="Tpmvscmgr">tpmvscmgr</a></li>
<li><a href="Tracerpt" class="mw-redirect" title="Tracerpt">tracerpt</a></li>
<li><a href="Typeperf" class="mw-redirect" title="Typeperf">typeperf</a></li>
<li><a href="W32tm" title="W32tm">w32tm</a></li>
<li><a href="WBAdmin" title="WBAdmin">WBAdmin</a></li>
<li><a href="Wecutil" class="mw-redirect" title="Wecutil">wecutil</a></li>
<li><a href="Wevtutil" class="mw-redirect" title="Wevtutil">wevtutil</a></li>
<li><a href="Winmgmt" class="mw-redirect" title="Winmgmt">winmgmt</a></li>
<li><a href="Windows_System_Assessment_Tool" title="Windows System Assessment Tool">winsat</a></li>
<li><a href="Windows_Management_Instrumentation_Command-line" class="mw-redirect" title="Windows Management Instrumentation Command-line">wmic</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Boot management</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Bcdedit" class="mw-redirect" title="Bcdedit">bcdedit</a></li>
<li><a href="Bootcfg" title="Bootcfg">bootcfg</a></li>
<li><a href="Bootsect" class="mw-redirect" title="Bootsect">bootsect</a></li>
<li><a href="Fixboot" class="mw-redirect" title="Fixboot">fixboot</a></li>
<li><a href="Fixmbr" class="mw-redirect" title="Fixmbr">fixmbr</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Software_development" title="Software development">Software development</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Break_(command)" class="mw-redirect" title="Break (command)">break</a></li>
<li><a href="Debug_(command)" title="Debug (command)">debug</a></li>
<li><a href="Exe2bin" title="Exe2bin">exe2bin</a></li>
<li><a href="QBasic" title="QBasic">QBasic</a></li>
<li><a href="Windows_Subsystem_for_Linux" title="Windows Subsystem for Linux">wsl</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Miscellaneous</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cls_(command)" class="mw-redirect" title="Cls (command)">cls</a></li>
<li><a href="Dpath" title="Dpath">dpath</a></li>
<li><a href="Help_(command)" title="Help (command)">help</a></li></ul>
</div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>
<ul><li><a href="List_of_DOS_commands" title="List of DOS commands">List of DOS commands</a></li>
<li><a href="Environment_variable" title="Environment variable">Environment variables</a></li>
<li><a href="Windows_Support_Tools" title="Windows Support Tools">Windows Support Tools</a></li></ul>
</div></td></tr></tbody></table></div></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2024-07-31" href="https://en.wikipedia.org/wiki/?title=Windows_service&oldid=1237793043">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>